﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frm_IdentifyNoQuery.aspx.cs" Inherits="Mod_ReportManage_frm_IdentifyNoQuery" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
    <head id="Head1" runat="server">
        <title></title>
        <script language="javascript" src="../App_script/index.js"></script>
        <script language="javascript" src="../XMLHttpRequest/xmlhttprequest.js"></script>
        <link type="text/css" rel="stylesheet" href="../App_Css/css1.css"/>
    </head>
    <body rightmargin="0" topmargin="0" bottommargin="0" leftmargin="0" onresize="ChangDivWidth()" onkeydown="FocusChangNext()" onload="document.getElementById('txtIdentifyNo').focus();document.getElementById('txtIdentifyNo').select();">
        <form id="CorporationPage" runat="server">
             <table align="center" width="100%" height="449" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td align="center" background="../App_Images/b_12.gif" height="35" class="text">
                        <table align="center" border="0">
                            <tr>
                                <td>识别码：</td>
                                <td align="left" style="width: 139px"><asp:TextBox ID="txtIdentifyNo" runat=server CssClass="text" onmouseover="document.getElementById('txtIdentifyNo').focus();document.getElementById('txtIdentifyNo').select();"></asp:TextBox></td>
                                <td>单号：</td>
                                <td align="left" style="width: 155px"><asp:TextBox ID="txtBodNo" runat=server CssClass="text" onmouseover="document.getElementById('txtBodNo').focus();document.getElementById('txtBodNo').select();"></asp:TextBox> </td>
                                <td><asp:ImageButton ID="ibtnSearch" runat="server" ImageUrl="../App_Images/b_21.gif" Width="36" Height="18" OnClick="ibtnSearch_Click" OnClientClick="if(txtIdentifyNo.value == '' && txtBodNo.value == ''){alert('请输入查询条件！');return false;}"/></td>
                            </tr>
                        </table>
                     </td>
                </tr>
                <tr>
                    <td height="25" align="left">
                        <!-- 翻页控制 Begin -->
                        <table width="820" height="25" cellpadding="0" cellspacing="0" border="0" class="text">
                            <tr>
                                <td align="center">
                                    <asp:Label ID="lblRsCounts" runat="server" CssClass="text"/>
                                    <asp:Label ID="lblPageCounts" runat="server" CssClass="text"/>
                                    <asp:Label ID="lblCurrPage" runat="server" CssClass="text"/>&nbsp;&nbsp;
                                    <asp:linkbutton ID="lbtnFirst" runat="server" CssClass="text" Text="首  页" OnClick="ChangPage" CommandName="0" />
                                    <asp:linkbutton ID="lbtnPrev" runat="server" CssClass="text" Text="上一页" OnClick="ChangPage" CommandName="1" />
                                    <asp:linkbutton ID="lbtnNext" runat="server" CssClass="text" Text="下一页" OnClick="ChangPage" CommandName="2" />
                                    <asp:linkbutton ID="lbtnEnd" runat="server" CssClass="text" Text="尾  页" OnClick="ChangPage" CommandName="3" />&nbsp;&nbsp;
                                    <asp:Label ID="lblGoTxt1" runat="server" CssClass="text" Text="跳转到"/>
                                    <asp:textBox ID="txtGo" onmouseover="this.select()" runat="server" CssClass="text" Height="13px" Width="18px" BorderColor="#7F9DB9" BorderWidth="1px" MaxLength="5"  AutoPostBack="True" />
                                    <asp:Label ID="lblGoTxt2" runat="server" CssClass="text" Text="页"/>
                                </td>
                            </tr>
                        </table>
                        <!-- 翻页控制 End -->
                    </td>
                </tr>
                <tr>                    
                    <td height="300" valign="top">
                        <table width="820" height="25" cellpadding="0" cellspacing="0" border="0" style="left: 0px; position: relative; top: 0px">
                            <tr>
                                <td>
                                    <table width="820" height="25" cellspacing="0" cellpadding="0" border="1" class="text" bordercolor="#a1a7bb" style="border-collapse: collapse">
                                        <tr style="cursor:default">                                                                                        
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 100px;">识别码</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 100px;">单据号</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 90px;">单据日期</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 120px;">商品</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 100px;">批号</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 90px;">生成日期</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px;" >备注</td>                                           
                                        </tr>                                    
                                    </table>
                                </td>
                            </tr>
                            <!-- 记录显示区 Begin -->
                            <tr>
                                <td style="height: 359px" valign="top">
                                    <asp:datagrid ID="dgrdResult" runat="server" AllowPaging="True" AutoGenerateColumns="False" PageSize="18" ShowHeader="False"  BorderStyle="None" BorderWidth="0px" CellPadding="0" CssClass="text" >
                                        <PagerStyle Visible="False" BorderStyle="None" BorderWidth="0px" />
                                        <Columns>
                                            <asp:TemplateColumn ItemStyle-VerticalAlign="top">
                                                <ItemTemplate>
                                                    <table width="820" height="20" cellpadding="0" cellspacing="0" border="1" bordercolor="#A1A7BB" style="border-collapse: collapse">
                                                        <tr id='tr' runat="server" onfocusin="this.bgColor='#D3E2D7'" onfocusout="this.bgColor=''">                                                                                                                                                                                                                                                
                                                            <td  align="center" width="100px"><asp:TextBox ID="TextBox1" BorderColor="#7F9DB9" Text='<%# DataBinder.Eval(Container.DataItem, "identify_no")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "identify_no")%>' runat="server" CssClass="text" MaxLength="95" Width="95px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox></td>
                                                            <td  align="center" width="100px"><asp:TextBox ID="TextBox2" BorderColor="#7F9DB9" Text='<%# DataBinder.Eval(Container.DataItem, "bod_no")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "bod_no")%>' runat="server" CssClass="text" MaxLength="95" Width="95px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox></td>
                                                            <td  align="center" width="90px"><asp:TextBox ID="TextBox3" BorderColor="#7F9DB9" Text='<%# DataBinder.Eval(Container.DataItem, "bod_date","{0:yyyy年MM月dd日}")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "bod_date")%>' runat="server" CssClass="text" MaxLength="85" Width="85px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox></td>
                                                            <td  align="center" width="120px"><asp:TextBox ID="TextBox4" BorderColor="#7F9DB9" Text='<%# DataBinder.Eval(Container.DataItem, "im_name")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "im_no")%>' runat="server" CssClass="text" MaxLength="115" Width="115px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox></td>
                                                            <td  align="center" width="100px"><asp:TextBox ID="TextBox5" BorderColor="#7F9DB9" Text='<%# DataBinder.Eval(Container.DataItem, "batch_no")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "batch_no")%>' runat="server" CssClass="text" MaxLength="95" Width="95px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox></td>
                                                            <td  align="center" width="90px"><asp:TextBox ID="TextBox6" BorderColor="#7F9DB9" Text='<%# DataBinder.Eval(Container.DataItem, "create_date","{0:yyyy年MM月dd日}")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "create_date")%>' runat="server" CssClass="text" MaxLength="85" Width="85px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox></td>
                                                            <td  align="center"><asp:TextBox ID="TextBox7" BorderColor="#7F9DB9" Text='<%# DataBinder.Eval(Container.DataItem, "remark")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "remark")%>' runat="server" CssClass="text" MaxLength="50" Width="75px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox></td>                                                            
                                                        </tr>
                                                    </table>
                                                </ItemTemplate>
                                            </asp:TemplateColumn>                                            
                                        </Columns>
                                        <ItemStyle BorderStyle="None" BorderWidth="0px" />
                                        <AlternatingItemStyle BackColor="#EEEFF2" />
                                    </asp:datagrid>
                                </td>
                            </tr>
                            <!-- 记录显示区 End-->
                        </table>
                        <asp:label ID="lblJs" runat="server"/>                        
                    </td>                    
                </tr>
            </table>
            <asp:Label ID="labMessage" runat=server></asp:Label>
        </form>
    </body>
</html>
